package com.jic.market.request.rest.coupon;

import com.jic.market.request.rest.base.RestBaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author wwb
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("领券中心")
public class QuyerCouponCenterRequest extends RestBaseRequest{

    @NotNull(message = "缺少 start 参数")
    @ApiModelProperty(value = "分页参数 当前页码" , required = true)
    private Integer start;
    @NotNull(message = "缺少 limit 参数")
    @ApiModelProperty(value = "分页参数 当前页条数" , required = true)
    private Integer limit;
    @ApiModelProperty(value = "第三方用户编码" , hidden = true)
    private String thirdUserId;
    @ApiModelProperty(value = "优惠券编码" , hidden = true)
    private String couponCode;
    @ApiModelProperty(value = "登录token")
    private String token;
    @ApiModelProperty(value = "是否为话费抵扣券" , hidden = true)
    private Integer amountDeductType;
}
